WebpConverter\Loader\HtaccessLoader A

Total Complexity 60
Dependencies 13
Dependents 3
Total lines 416
Lines of code 233
Logical lines of code 144
Comment lines 124
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
get_mod_rewrite_rules()
A
42 11 49
get_mod_headers_rules()
A
52 8 24
save_rewrites_in_htaccesss()
S
58 6 16
update_image_urls_to_bunny_cdn()
S
66 4 7
get_mod_mime_rules()
S
60 3 12
modify_document_root_path()
S
68 3 6
add_rewrite_rules_to_uploads()
S
58 2 15
add_rewrite_rules_to_uploads_webp()
S
59 2 15
add_comments_to_rules()
S
60 2 14
get_mod_expires_rules()
S
63 2 10
modify_output_root_path()
S
72 2 6
overwrite_htaccess_rewrite_root()
S
64 2 9
overwrite_htaccess_rewrite_path()
S
74 2 4
overwrite_htaccess_rewrite_output()
S
74 2 4
add_rewrite_rules_to_wp_content()
S
63 2 10
activate_loader()
S
68 2 7
deactivate_loader()
S
71 1 6
get_rules_to_wp_content()
S
72 1 6
init_front_end_hooks()
S
91 1 2
init_admin_hooks()
S
66 1 8
get_type()
S
81 1 3